import { request} from '@/api/_service.js'

export function page_yuan() {
return request({
url: 'stu/tea/getCollegeList',
method: 'get',

})
}

export function addObj(obj) {
return request({
url: '/stu/tea/addCollege',
method: 'post',
data: obj
})
}

export function getObj(id) {
return request({
url: '/api/chooseCourse/teDepartment/' + id,
method: 'get'
})
}

export function delObj(id) {
return request({
url: '/api/chooseCourse/teDepartment/' + id,
method: 'delete'
})
}

export function putObj(id, obj) {
return request({
url: '/api/chooseCourse/teDepartment/' + id,
method: 'put',
data: obj
})
}
